//
//  CoreJPush.h
//  MyJPush
//
//  Created by 于洪东 on 16/6/1.
//  Copyright © 2016年 于洪东. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CoreJPushSingleton.h"
#import "CoreJPushProtocol.h"


@interface CoreJPush : NSObject<CoreJPushProtocol>
HMSingletonH(CoreJPush)

/** 注册JPush */
+(void)registerJPush:(NSDictionary *)launchOptions;


/** 添加监听者 */
+(void)addJPushListener:(id<CoreJPushProtocol>)listener;

/** 移除监听者 */
+(void)removeJPushListener:(id<CoreJPushProtocol>)listener;


/** 注册alias、tags */
+(void)setTags:(NSSet *)tags alias:(NSString *)alias resBlock:(void(^)(BOOL res, NSSet *tags,NSString *alias))resBlock;


@end
